// Place all the styles related to the Posts controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: https://sass-lang.com/
#newti{
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    input{
        border-radius: 30px;
        border: #15233160 solid 0.5px ;
        outline: none;
        height: 100%;
        padding: 6px 6px;
        margin-right: 16px;
        font-size: 13px;
        width: 140px;
        &:hover{
            border: #15233180 solid 0.6px ;
        }
        &:focus{
            border: #15233190 solid 0.9px ;
        }
    }
}
#ntil{
    flex-basis: 10%;
}
#ntif{
    flex-basis: 90%;
}
#newcon{
    display: flex;
    margin-bottom: 10px;
    align-items:stretch;
    border: #15233160 solid 0.5px;
    border-radius: 10px;
    padding: 3px;
}
#post_content{
    border: none;
    border-right: #15233160 solid 0.5px ;
    outline: none;
    font-size: 13px;
    flex-basis: 50%;
    min-width: 200px;
    resize: none;
    &:hover{
        border-right: #15233180 solid 0.6px ;
    }
    &:focus{
        border-right: #15233190 solid 0.9px ;
    }
}
#pre{
    display: inline;
    width: 50%;
    min-width: 200px;
    height: 360px;
    overflow: scroll;
    text-align: left;
    word-break:break-all;
    padding: 2px 3px;
    *{
        margin: 3px 0;
    }
    p{
        margin: 2px 0;
    }
}
#ntag{
    border-radius: 30px;
    border: #15233160 solid 0.5px ;
    outline: none;
    height: 100%;
    padding: 6px 6px;
    margin-right: 16px;
    font-size: 13px;
    max-width: 160px;
    &:hover{
        border: #15233180 solid 0.6px ;
    }
    &:focus{
        border: #15233190 solid 0.9px ;
    }
}
#tag{
    align-items: center;
    margin-bottom: 10px;
}
.cti{
    text-align: left;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 6px;
}
.cbo{
    p{
        margin: 10px 0;
    }
    h1{
        font-size: 26px;
    }
    h2{
        font-size: 24px;
    }
    h3{
        font-size: 22px;
    }
    h4{
        font-size: 20px;
    }
}
.cinfo{
    background-color: #15233110;
    padding: 6px;
    font-size: 14px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}
.auth {
    flex-basis: auto;
    padding-right: 30px;

}
.ctim{
    flex-basis: auto;
    padding-right: 30px;
}
.ctag{
    flex-basis: auto;
    margin-left: auto;
    color:#15233160;
    ::before{
        content:"# "
    }
}
.comment{
    flex-basis: 88%;
    border: none;
    border-right: #15233160 solid 0.5px;
    padding: 5px;
    font-size: 14px;
    resize: none;
    height: 1.4em;
    outline: none;
    border-radius:6px 0 0 6px;
    overflow-y:hidden;
    &:hover{
        border-right: #15233180 solid 0.6px ;
    }
    &:focus{
        border-right: #15233190 solid 0.9px ;
    }
}
.conex{
    font-size: 14px;
    border: none;
    align-self:stretch;
    align-items: center;
    border-right:#15233160 solid 0.5px;
    background-color: #e9e9e9;
    color: #152331;
    font-size: 16px;
    padding-top:.4em ;
    opacity: .8;
    min-width: 2em;
    &:hover{
        animation-name: btnhover;
        animation-duration: 0.3s;
        animation-fill-mode: forwards;
    }
}
.cbtn{
    flex-basis: 10%;
    min-width: 90px;
    font-size: 14px;
    border: none;
    align-self:stretch;
    border-radius:0 6px 6px 0;
    background-color: #e9e9e9;
    color: #152331;
    opacity: .8;
    &:hover{
        animation-name: btnhover;
        animation-duration: 0.3s;
        animation-fill-mode: forwards;
    }
    &:disabled{
        &:hover{
            animation-name: none;
            cursor: not-allowed;
        }
        background-color: #e9e9e995;
    }
}
#comin{
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    border: #15233160 solid 0.5px ;
    &:hover{
        border-right: #15233190 solid 0.8px ;
    }
    border-radius: 6px;
}
#expsl{
    height: 2em;
    background-color: #15233110;
    border-radius: 6px;
    margin-bottom: 3px;
    overflow: scroll;
    overflow-x:auto;
    white-space: nowrap;
    min-width: 300px;
    padding: 0 2px;
    align-items: center;
}
.expsel{
    height: 2em;
    border:none;
    background-color:#15233112;
    flex-basis: auto;
    margin: 0 3px;
    cursor: pointer;
    &:hover{
        animation-name: btnhover;
        animation-duration: 0.3s;
        animation-fill-mode: forwards;
    }
}
.uname{
    font-weight: 500;
    &::after{
        content: "：";
    }
    display: inline-block;
    flex-basis: auto;
}
.comitem{
    margin: 10px 0;
    display: block;
    align-items: baseline;
}
.ccon{
    display: inline-block;
}
.ctime{
    min-width: 80px;
    display: block;
    text-align: right;
    font-family: Tahoma, sans-serif;
    font-size: 14px;
    color: #15233160;
}
.cline{
    margin: 8px 0 !important;
}